import React from 'react'

export default ({data}: {data: string}): {pack: any} => {
  React.useEffect(() => {
    console.log('hooks更新')
    return () => {
      console.log('hooks卸载')
    }
  }, [])
  return {
    pack: 1
  }
}